package com.app.mycomposedemo.viewmodel

import androidx.lifecycle.ViewModel
import com.app.mycomposedemo.data.ArticleData

/**
 * 文章数据的viewModel
 */
class ArticleViewModel: ViewModel() {

    var articleList = mutableListOf(
        ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ),
        ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        ), ArticleData(
            title = "人社部向疫情防控期参与复工复产的劳动者表",
            source = "“学习强国”学习平台",
            date = "2020-02-10"
        )
    )
}